package com.wang.feign;

import com.wang.request.NewUserCouponRequest;
import com.wang.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "xdclass-coupon-service")
public interface CouponFeignService {

    @PostMapping("/api/coupon/v1/new_user_coupon")
    public JsonData newUserCoupon(NewUserCouponRequest newUserCouponRequest);
}
